/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ConnectData;

import java.sql.Connection;

public class Config {
    public static String serverName = AppSetting.getSetting("Host");//Store Name of Computer what will be setup this application
     public static String SqlServer = AppSetting.getSetting("ServerName");
    public static String DataName = AppSetting.getSetting("DatabaseName");//Store Database name
    public static String PortNum = AppSetting.getSetting("Port");
    public static String UserName = AppSetting.getSetting("Username");
    public static String PassWord = AppSetting.getSetting("Password");
    public Connection cn =null;
    public Config(){
    cn=getConnections.getConnection4(Config.serverName,Config.DataName,Config.UserName,Config.PassWord);
   // cn=getConnections.getConnection1(Config.UserName, Config.PassWord);
    }
}
